package com.screen.screendisplay.entity.electric;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 运行监测机组检修监测表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_electric_opermon_equip_fix")
@ApiModel(value = "ElectricOpermonEquipFix对象", description = "运行监测机组检修监测表")
public class ElectricOpermonEquipFix implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年份")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月份(1-12)")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "计划开工时间")
    @TableField("planned_start_time")
    private Date plannedStartTime;

    @ApiModelProperty(value = "实际结束时间")
    @TableField("actual_end_time")
    private Date actualEndTime;

    @ApiModelProperty(value = "检修工期(天)")
    @TableField("duration_days")
    private Integer durationDays;

    @ApiModelProperty(value = "检修等级(A/B/C等)")
    @TableField("maintenance_level")
    private String maintenanceLevel;

    @ApiModelProperty(value = "机组编码")
    @TableField("unit_code")
    private String unitCode;

    @ApiModelProperty(value = "机组名称")
    @TableField("unit_name")
    private String unitName;

    @ApiModelProperty(value = "电厂编码")
    @TableField("plant_code")
    private String plantCode;

    @ApiModelProperty(value = "电厂名称")
    @TableField("plant_name")
    private String plantName;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private Date createdAt;

    @ApiModelProperty(value = "创建人")
    @TableField("created_by")
    private String createdBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private Date updatedAt;

    @ApiModelProperty(value = "更新人")
    @TableField("updated_by")
    private String updatedBy;
}
